<template>
    <div class="top">
      <div class="logout" @click="logout">退出</div>
    </div>
</template>

<script>
export default {
  name: 'navbar',
  methods:{
    logout(){
      this.$router.push({
        path: "/login",
      });
    }
  }
}
</script>

<style scoped>
.top {
  display: flex;
  justify-content: flex-end;
  color: rgb(3, 89, 126);
  cursor: pointer;
}
</style>
